package cn.kgc.service.impl;

import cn.kgc.mapper.RoleMapper;
import cn.kgc.pojo.SmbmsRole;
import cn.kgc.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("roleService")
public class RoleServiceimpl implements RoleService {
    @Resource
    private RoleMapper roleMapper;

    @Override
    public List<SmbmsRole> getRole() {
        return roleMapper.getRole();
    }
}
